<?php
class XStdClass extends XObject {
    public $value = null;
    public function __construct($value = null) {
        $this->value = $value;
    }
    final public function __xset__($name, $value) {
        $this->$name = new XStdClass($value);
    }
}
